package cn.tedu.charging.order.dao.repository;

import cn.tedu.charging.order.pojo.po.ChargingOrderFailPO;
import cn.tedu.charging.order.pojo.po.ChargingOrderSuccessPO;

public interface OrderRepository {

    ChargingOrderSuccessPO getOrderSuccessByOrderNo(String orderNo);

    ChargingOrderFailPO getOrderFailByOrderNo(String orderNo);

    Integer insertOrderSuccess(ChargingOrderSuccessPO chargingOrderSuccessPO);

    Integer insertOrderFail(ChargingOrderFailPO chargingOrderFailPO);

    Integer updateOrderStatusFromChargingToAbnormalEnd(String orderNo);
}
